package com.wonder.app.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.function.DoubleConsumer;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_sfc_operp_detail")
@ApiModel(value="t_sfc_operp_detail", description="生产订单详情表")
public class SfcOperpDetail extends Model<SfcOperpDetail> {

    @TableId(value ="id", type = IdType.AUTO)
    @ApiModelProperty(name = "id" , value = "编号")
    private Long id;

    @TableField(value = "ENTRYID")
    @ApiModelProperty(name = "ENTRYID" , value = "金蝶内码")
    private Long ENTRYID;

    @TableField(value = "BillNo")
    @ApiModelProperty(name = "BillNo" , value = "订单编号")
    private String BillNo;

    @TableField(value = "OperNo")
    @ApiModelProperty(name = "OperNo" , value = "工序号")
    private String OperNo;

    @TableField(value = "DepartName")
    @ApiModelProperty(name = "DepartName" , value = "加工车间名称")
    private String DepartName;

    @TableField(value = "DepartNo")
    @ApiModelProperty(name = "DepartNo" , value = "加工车间编码")
    private String DepartNo;

    @TableField(value = "MaterialNo")
    @ApiModelProperty(name = "MaterialNo" , value = "物料编码")
    private String MaterialNo;

    @TableField(value = "MaterialName")
    @ApiModelProperty(name = "MaterialName" , value = "物料名称")
    private String MaterialName;

    @TableField(value = "Specification")
    @ApiModelProperty(name = "Specification" , value = "规格")
    private String Specification;

    @TableField(value = "Qty")
    @ApiModelProperty(name = "Qty" , value = "数量")
    private Double Qty;


    @TableField(value = "UnitNo")
    @ApiModelProperty(name = "UnitNo" , value = "单位编码")
    private String UnitNo;

    @TableField(value = "UnitName")
    @ApiModelProperty(name = "UnitName" , value = "单位名称")
    private String UnitName;

    @TableField(value = "PlanStart")
    @ApiModelProperty(name = "PlanStart" , value = "计划开工时间")
    private Date PlanStart;

    @TableField(value = "PlanEnd")
    @ApiModelProperty(name = "PlanEnd" , value = "计划完工时间")
    private Date PlanEnd;

    @TableField(value = "MaterialType")
    @ApiModelProperty(name = "MaterialType" , value = "产品类型")
    private String MaterialType;

    @TableField(value = "BOMType")
    @ApiModelProperty(name = "BOMType" , value = "bom版本")
    private String BOMType;
}
